package com.zz.ecommerce.baseManage.rules.bean;

import com.zz.ecommerce.utils.SqlType;

import java.io.Serializable;

public class TDroolRule implements Serializable {
    @SqlType(isEquals = true, defaultValue = "SYS_GUID()")
    private String ruleId;//规则ID
    private String ruleName;//规则名称
    private String ruleContent;//规则内容
    @SqlType(isEquals = true)
    private String ruleStatus;//规则状态
    private String ruleDesc;//规则描述
    @SqlType(type = "date", defaultValue = "sysdate", format = "yyyy-MM-dd hh24:mi:ss", qryStart = "ruleDateStart", qryEnd = "ruleDateEnd")
    private String ruleDate;//规则状态时间
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String ruleDateStart;
    @SqlType(inTable = false, type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String ruleDateEnd;
    private String ruleOperator;//规则修改人

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getRuleContent() {
        return ruleContent;
    }

    public void setRuleContent(String ruleContent) {
        this.ruleContent = ruleContent;
    }

    public String getRuleStatus() {
        return ruleStatus;
    }

    public void setRuleStatus(String ruleStatus) {
        this.ruleStatus = ruleStatus;
    }

    public String getRuleDesc() {
        return ruleDesc;
    }

    public void setRuleDesc(String ruleDesc) {
        this.ruleDesc = ruleDesc;
    }

    public String getRuleDate() {
        return ruleDate;
    }

    public void setRuleDate(String ruleDate) {
        this.ruleDate = ruleDate;
    }

    public String getRuleDateStart() {
        return ruleDateStart;
    }

    public void setRuleDateStart(String ruleDateStart) {
        this.ruleDateStart = ruleDateStart;
    }

    public String getRuleDateEnd() {
        return ruleDateEnd;
    }

    public void setRuleDateEnd(String ruleDateEnd) {
        this.ruleDateEnd = ruleDateEnd;
    }

    public String getRuleOperator() {
        return ruleOperator;
    }

    public void setRuleOperator(String ruleOperator) {
        this.ruleOperator = ruleOperator;
    }

    @Override
    public String toString() {
        return "TDroolRule{" +
                "ruleId='" + ruleId + '\'' +
                ", ruleName='" + ruleName + '\'' +
                ", ruleContent='" + ruleContent + '\'' +
                ", ruleStatus='" + ruleStatus + '\'' +
                ", ruleDesc='" + ruleDesc + '\'' +
                ", ruleDate='" + ruleDate + '\'' +
                ", ruleDateStart='" + ruleDateStart + '\'' +
                ", ruleDateEnd='" + ruleDateEnd + '\'' +
                ", ruleOperator='" + ruleOperator + '\'' +
                '}';
    }
}
